package com.huatai.range.feign;

import com.huatai.common.api.R;
import com.huatai.range.entity.TbTrialInfoEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName TrialInfoManage
 * @Description TODO 试验基本信息
 * @Author luoxc
 * @Date 2023/4/26 10:09
 * @Version 1.0
 */
@FeignClient("ht-trial-manage")
public interface TrialInfoClient {

	@PostMapping("/info/getByTrialId")
	R<TbTrialInfoEntity> getOne(@RequestParam("trialId") String trialId);

	@GetMapping("/info/selectList")
	R<TbTrialInfoEntity> list();

}
